const express = require('express');
const router = express.Router();
const user_hander = require('../router_hander/user.js')
const {reg_log_schema} = require('../schema/user.js')
const expressJoi = require('@escook/express-joi')

router.post('/register', expressJoi(reg_log_schema),user_hander.regUser);
router.post('/login',user_hander.login); // zyc 123
module.exports = router;